package com.social.service;

import com.social.pojo.PageBean;
import com.social.pojo.Result;
import com.social.pojo.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 25241
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2022-10-30 15:18:42
*/
public interface SysRoleService extends IService<SysRole> {

    Result getAll(PageBean pageBean);

    Result listAll();


    Result deleteById(Long[] ids);

    Result add(SysRole sysRole);

    Result update(SysRole sysRole);

    Result grantMenu(Long roleId, Long[] menuIds);
}
